package com.studor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.studor.dto.LoginRequest;
import com.studor.dto.LoginResponse;
import com.studor.dto.UserCreateRequest;
import com.studor.dto.UserUpdateRequest;
import com.studor.entity.Account;

public interface AccountService extends IService<Account> {
    LoginResponse login(LoginRequest request);
    
    Account getAccountByUsername(String username);
    
    Account createUser(UserCreateRequest request);
    
    Account updateUser(UserUpdateRequest request);
    
    void deleteUser(Integer id);
} 